package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
public class BaseCheckStockAddDTO {
  @ApiModelProperty("盘点单号")
  private String orderNo;

  @ApiModelProperty("仓库id")
  private Long storeId;

  @ApiModelProperty("库位id")
  private Long locationId;

  @ApiModelProperty("产品id")
  private Long productId;

  @ApiModelProperty("实盘重量")
  private Double weight;

  @ApiModelProperty("实盘体积")
  private Double volume;

  @ApiModelProperty("实盘数目")
  private Long amount;

  @ApiModelProperty("实盘图盘数")
  private Long trays;

  @ApiModelProperty("盘点详情id")
  private Long checkStockDetailId;

  @ApiModelProperty("批次")
  private String batch;

  @ApiModelProperty("过期时间")
  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  private Date deadTime;
}
